<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'update_book.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <form action="book/updatebook.do" method="post">
    <tr>
          <td>图书编号:${books.isbn}<input type="hidden" value="${books.isbn}" name="isbn" /></td><br/>
    	  <td>图书类型:<input type="text" value="${books.typeid}" name="typeid" /></td><br>
    	  <td>图书书名:<input type="text" value="${books.title}" name="title" /></td><br>
    	  <td>图书语言:<input type="text" value="${books.language}" name="language" /></td><br>
    	  <td>出版社:<input type="text" value="${books.publisher}" name="publisher" /></td><br>
    	  <td>出版年份:<input type="text" value="${books.publish_year}" name="publish_year" /></td><br>
    	  <td>作者:<input type="text" value="${books.author}" name="author" /></td><br>
    	  <td>价格:<input type="text" value="${books.price}" name="price" /></td><br>
    	  <td>馆内总库存:<input type="text" value="${books.number}" name="number" /></td><br>
    	  <td>馆内当前库存:<input type="text" value="${books.stock}" name="stock" /></td><br>
    	  <td>图书简介:<input type="text" value="${books.digest}" name="digest" /></td><br>
    	  <td>图书所在位置:<input type="text" value="${books.location}" name="location" /></td><br>
    	 
    	<br>
     <input type="submit" value="点击修改" />
     </tr>
    </form>
  </body>
</html>
